package com.badshun.ojs;

import com.badshun.ojs.OJSRuntime;

public class OJSObject {
    public enum TYPE {
        VAR,
        FUNC,
        OBJ
        // class or anything else
    }

    protected TYPE type = TYPE.OBJ;
    protected String name = "";
    protected String content = "";
    protected OJSRuntime runtime;

    public OJSObject(OJSRuntime runtime) {
        this.runtime = runtime;
    }

    public TYPE getType() {
        return type;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
